package com.lh.service.impl;

import com.lh.dao.RoleDao;
import com.lh.entity.Role;
import com.lh.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LuoHang
 * @Date: 2021/2/8 0:51
 * @Description
 */
@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleDao roleDao;

    @Override
    public List<Role> getRoles() {
        return roleDao.getRoles();
    }
}
